package EurekaAnalyzer;

import java.util.Vector;

/**
 * @author Xenophon
 * This interface provides all operations we need to 
 * extract information from html type pages. 
 */
public interface PageAnalyzer {
	/**
	 * This method get Title string from the page.
	 * @return The title of the page.
	 */
	public String GetTitle();
	/**
	 * This method get all user ids appear in the page.The
	 * first element of the return vector is the topic poster's id. 
	 * @return All the ids appears in the pages.
	 */
	public Vector<String> GetIDs();
	/**
	 * Return all the times the ids post or reply. 
	 * @return 
	 */
	public Vector<String> GetTimes();
	/**
	 * Get the board the current page belongs to.
	 * @return
	 */
	public String GetBoard();
	/**
	 * Get the URI of the current page
	 * @return
	 */
	public String GetURL();
	/**
	 * When the current page is the first page of the current topic
	 * this operator return true.
	 * @return
	 */
	public boolean IsPost();
	/**
	 * Return whether the current page has next page
	 * @return
	 */
	public boolean HasNext();
	/**
	 * Return whether the current page has next page
	 * @return
	 */
	public boolean HasPre();
}